public class Sample2Controller {

    public String age { get; set; }

    public PageReference exe() {
        name = '★' + name + age + '★';
//        return null;
//        return ApexPages.currentPage();
//        return Page.Sample1;
//        return new PageReference('/001');
        return new PageReference('http://www.google.com');
    }

    private String name;
    
    public String getName() {
        return name;
    }
    public void setName(String n){
        name = n;
    }

}